<div class="modal fade" id="modal_modify" style="padding-top: 150px" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
                    &times;
                </button>
                <h4 class="modal-title" id="myModalLabel">
                    账号管理修改
                </h4>
            </div>
                <#if result??>
                <div class="modal-body">
                    <form id="form_modify" class="form-horizontal" role="form">
                        <div class="form-group hidden">
                            <label for="firstname" class="col-sm-2 control-label">ID</label>
                            <div class="col-sm-10">
                                <input type="text" class="form-control" id="userId" name="id" value="${result.id?default("")}">
                            </div>
                        </div>
                        <#--<div class="form-group">-->
                            <#--<label for="firstname" class="col-sm-2 control-label">商户id</label>-->
                            <#--<div class="col-sm-10">-->
                                <#--<input type="text" class="form-control" id="busId_modify" name="busId" placeholder="请输入商户id" value="${result.busId?default("")}">-->
                            <#--</div>-->
                        <#--</div>-->
                        <div class="form-group">
                            <label for="firstname" class="col-sm-2 control-label">登&nbsp;&nbsp;录&nbsp;&nbsp;名</label>
                            <div class="col-sm-10">
                                <input type="text" class="form-control" id="accUsername_modify" name="accUsername" placeholder="请输入登录名" value="${result.accUsername?default("")}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="firstname" class="col-sm-2 control-label">密&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;码</label>
                            <div class="col-sm-10">
                                <input type="text" class="form-control" id="accPassword_modify" name="accPassword" placeholder="请输入密码" value="${result.accPassword?default("")}">
                            </div>
                        </div>
                        <#--<div class="form-group">-->
                            <#--<label for="firstname" class="col-sm-2 control-label">手&nbsp;机&nbsp;号</label>-->
                            <#--<div class="col-sm-10">-->
                                <#--<input type="text" class="form-control" id="accPhone_modify" name="accPhone" placeholder="请输入手机号" value="${result.accPhone?default("")}">-->
                            <#--</div>-->
                        <#--</div>-->
                        <div class="form-group">
                            <label for="firstname" class="col-sm-2 control-label">账号类型</label>
                            <div class="col-sm-10">
                                <select name="accType" class="form-control">
                                    <option value="0" ${(result.accType='0')?string('selected', '')}>未配置</option>
                                    <option value="1" ${(result.accType='1')?string('selected', '')}>管理员</option>
                                    <option value="2" ${(result.accType='2')?string('selected', '')}>运营商</option>
                                    <option value="3" ${(result.accType='3')?string('selected', '')}>代理商</option>
                                    <option value="4" ${(result.accType='4')?string('selected', '')}>渠道商</option>
                                    <option value="5" ${(result.accType='5')?string('selected', '')}>商户</option>
                                    <option value="6" ${(result.accType='6')?string('selected', '')}>其它</option>

                                </select>
                            <#--<input type="text" class="form-control" id="status_modify" name="status" placeholder="请输入状态" value="${result.status?default("")}">-->
                            </div>

                            <#--<div class="col-sm-10">-->
                                <#--<input type="text" class="form-control" id="accType_modify" name="accType" placeholder="请输入账号类型" value="${result.accType?default("")}">-->
                            <#--</div>-->
                        </div>
                        <div class="form-group">
                            <label for="firstname" class="col-sm-2 control-label">备&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;注</label>
                            <div class="col-sm-10">
                                <input type="text" class="form-control" id="remark_modify" name="remark" placeholder="请输入备注" value="${result.remark?default("")}">
                            </div>
                        </div>

                    </form>
                </div>
                </#if>
            <div class="modal-footer">

                <button type="button" id="modalCancel" onclick="function close() {
                                $('#modal_modify').modal('hide');
                            }" class="btn btn-default" data-dismiss="modal">关闭
                </button>
                <button type="button" id="button_modify" onclick="modifyRecord()" class="btn btn-primary">
                    保存
                </button>
            </div>
        </div>
    </div><!-- /.modal-content -->
</div><!-- /.modal -->